//
//  TCCalendarTipView.h
//  TCCalendarSelector
//
//  Created by 叮叮 on 2021/5/8.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol TCCalendarTipViewDelegate <NSObject>
@optional
/// 取消按钮点击
- (void)cancelButtonClicked;
/// 确定按钮点击
- (void)confirmButtonClicked;
/// 上一步按钮点击事件
- (void)previousButtonClicked:(UIButton *)button textLabel:(UILabel *)textLabel;
/// 下一年按钮点击事件
- (void)nextButtonClicked:(UIButton *)button textLabel:(UILabel *)textLabel;

@end

@interface TCCalendarTipView : UIView
/// 标题
@property (nonatomic, readonly) UILabel *textLabel;
/// 代理
@property (nonatomic, weak) id<TCCalendarTipViewDelegate> delegate;
@end

NS_ASSUME_NONNULL_END
